﻿using MediatR;
using ReturnValue;

namespace MES.Server.API.Application.Command.Material_Management
{
    public class AddProductMaterialsCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 产品物料编码
        /// </summary>
        public string ProductMaterialsCode { get; set; }
        /// <summary>
        /// 产品物料名称
        /// </summary>
        public string ProductMaterialsName { get; set; }
        /// <summary>
        /// 产品物料类型
        /// </summary>
        public string ProductMaterialsType { get; set; }
        /// <summary>
        /// 产品物料规格型号
        /// </summary>
        public string ProductMaterialsSpecs { get; set; }
        /// <summary>
        /// 产品物料数量
        /// </summary>
        public long ProductMaterialsCount { get; set; }
        /// <summary>
        /// 产品物料单位
        /// </summary>
        public string ProductMaterialsUnit { get; set; }
        /// <summary>
        /// 产品物料预警
        /// </summary>
        public string ProductMaterialsforewarn { get; set; }
        /// <summary>
        /// 产品物料描述
        /// </summary>
        public string ProductMaterialsDesc { get; set; }
        /// <summary>
        /// 所属物料群组外键
        /// </summary>
        public long MaterialGroupId { get; set; }
        /// <summary>
        /// 所属工艺流程外键
        /// </summary>
        public long ProcessFlowId { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreaterPeople { get; set; }
    }
}
